/*
 * @Author: moeWang
 * @Date: 2022-03-03 11:33:02
 * @LastEditTime: 2022-03-04 14:18:04
 * @LastEditors: moeWang
 * @Description:
 * @FilePath: \nest-web\src\logical\account\accountView.model.ts
 */

import { ApiPropertyOptional } from '@nestjs/swagger';
export class RpAccountViewModel {
  @ApiPropertyOptional({ description: '主键' })
  id: string;

  @ApiPropertyOptional({ description: '用户名', example: 'admin' })
  account: string;

  @ApiPropertyOptional({ description: '主键' })
  username: string;

  // @ApiPropertyOptional({ description: '密码' })
  // passwd: string;

  @ApiPropertyOptional({ description: '级别,0:超管，1领导，2普通用户' })
  level: string;

  @ApiPropertyOptional({ description: '用户所属组织机构Id' })
  orgId: string;

  @ApiPropertyOptional({ description: '状态，01-正常,02-停用,03-未激活' })
  status: string;

  @ApiPropertyOptional({ description: '密码失效时间' })
  passwordUselessDate: Date;

  @ApiPropertyOptional({ description: '内部序号' })
  sort: string;

  @ApiPropertyOptional({ description: '外部序号' })
  sort2: string;

  @ApiPropertyOptional({ description: '创建人' })
  creatorId: string;

  @ApiPropertyOptional({ description: '创建时间' })
  createDate?: Date;

  @ApiPropertyOptional({ description: '最后一次编辑人' })
  editorId: string;

  @ApiPropertyOptional({ description: '编辑时间' })
  editDate: Date;

  @ApiPropertyOptional({ description: '联系方式' })
  telNumber: string;
}
